.mode-menu{
  position: relative;
  .trial-info{
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    color: white;
    background: #FF6680;
    text-align: center;
    width: 100%;
  }
  .company-name{
    padding: 0 8px;
    height: 64px;
    line-height: 64px;
    font-size: 14px;
    color: $font-ghost;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    z-index: 1;
    background: $menu;
    border-bottom: 1px solid $menu-divide;
    cursor: pointer;
    i { margin-right: 10px; cursor: pointer; }
    i:hover { color: $default-color; }
    .company-name-title {
      height: 32px;
      line-height: 32px;
    }
    .company-name-setting {
      display: flex;
      justify-content: center;
      margin-top: 4px;
      span {
        display: inline-block;
        width: 50%;
        height: 14px;
        line-height: 14px;
      }
      span:first-child { border-right: 1px solid #39405E;}
    }
    .text{
      max-width: 200px;
      display: block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      margin-top: 24px;
    }
    .ant-dropdown-trigger{
      max-width: 200px;
      display: block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      margin-top: 24px;
    }
  }
}
.mode-menu-popover.ant-popover {
  left: 240px !important;
  width: 370px;
  margin-left: -30px;
  padding-left: 0;
  -webkit-transition: left .5s;
  -moz-transition: left .5s;
  -ms-transition: left .5s;
  -o-transition: left .5s;
  transition: left .5s;
  &.collapsed { left: 114px !important; }
  .ant-popover-arrow { display: none; }
  .ant-popover-inner-content { padding: 0; }
  .ant-popover-content { margin-left: -4px; }
  .current-mode {
    padding: 0 20px;
    height: 50px;
    border-bottom: 1px solid $divide-line;
    line-height: 50px;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    span{
      display: inline-block;
      padding: 0 6px;
      margin-right: 8px;
      height: 20px;
      border-radius: 2px;
      line-height: 20px;
      font-size: 14px;
    }
  }
  input {
    height: 28px;
    line-height: 28px;
  }
  button {
    width: 100%;
    line-height: 50px;
    margin-bottom: 4px;
    font-size: 16px;
    text-align: left;
    span{
      color: $font-title;
    }
  }
  .company-list{
    overflow: auto;
    .ant-list { padding-bottom: 20px; }
    .ant-list-item {
      border-bottom: none;
      padding: 8px 20px;
      cursor: pointer;
      &:hover { background-color: $highlight-default; }
    }
    .ant-list-item.active {
      background-color: $highlight-selected;
      .name {
        color: $default-color;
      }
    }
    .ant-list-item-content {
      display: block;
      width: 100%;
      .name {
        color: $font-title;
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .code{
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }
  .loading-container { text-align: center; }
}
